package com.bindatax.core.model;

import org.pentaho.di.core.row.ValueMetaInterface;

public class ValueMetaData {
    private ValueMetaInterface valueMetaInterface;// 列的属性
    private int cloIndex;//列的位置

    public ValueMetaInterface getValueMetaInterface() {
        return valueMetaInterface;
    }

    public void setValueMetaInterface(ValueMetaInterface valueMetaInterface) {
        this.valueMetaInterface = valueMetaInterface;
    }

    public int getCloIndex() {
        return cloIndex;
    }

    public void setCloIndex(int cloIndex) {
        this.cloIndex = cloIndex;
    }

    public String getName(){
        return valueMetaInterface.getName();
    }

    @Override
    public int hashCode() {
        return valueMetaInterface.getName().hashCode();
    }

    @Override
    public String toString() {
        return valueMetaInterface.getName();
    }
}
